import request from '@/utils/request'
/**
  *实现登陆功能
  * @param {mobile,password} data
  */
export function login(data) {
  return request({
    url: '/sys/login',
    method: 'post',
    data
  })
}
export function getUserProfile() {
  return request({
    url: '/sys/profile',
    method: 'post'
  })
}
export function getInfo(token) {

}
export function logout() {

}
